<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>办公智能化平台登录</title>
<link type="text/css" rel="stylesheet" href="css/demo/demo.css" />
<link type="text/css" rel="stylesheet" href="css/themes/color.css" />
<link type="text/css" rel="stylesheet"
	href="css/themes/default/easyui.css" />
<link type="text/css" rel="stylesheet" href="css/themes/icon.css" />
<link type="text/css" rel="stylesheet" href="css/login.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.easyui.min.js"></script>
<script type="text/javascript" src="js/common.js"></script>
</head>

<body>
	<div class="second_body">
		<form id="loginForm" action="submit()" method="post">
			<div class="logo"></div>
			<div class="title-zh">办公智能化信息管理系统</div>
			<div class="title-en">Enterprise Information Manage System</div>
			<div class="message"></div>
			<table border="0" style="width: 300px;">
				<tr>
					<td style="white-space: nowrap; padding-bottom: 5px; width: 55px;" name="id" id="id">用户名：</td>
					<td colspan="2"><input type="text" class="login" /></td>
				</tr>
				<tr>
					<td class="lable"
						style="white-space: nowrap; letter-spacing: 0.5em; vertical-align: middle" name="password" id="password">密码：</td>
					<td colspan="2"><input type="password" class="login" /></td>
				</tr>
				<tr>
					<td></td>
					<td colspan="2"><input type="checkbox" /><span>系统记住我</span></td>
				</tr>
				<tr>
					<td colspan="3" style="text-align: center">
					<input id="login" type="submit" value="登录" class="login_button" /> 
					<input type="button" value="重置" class="reset_botton" />
					</td>
				</tr>
			</table>
		</form>
		<script type="text/javascript">  
        $(document).ready(function(){  
            $("#login").click(function(){  
                $("#loginForm").ajaxSubmit({  
                    dataType: "json",  
                    success: function(data){  
                        if(data.flag) {  
                            window.location="manage";  
                        }  
                        else {  
                            alert(data.msg);  
                        }  
                    }  
                });  
            });  
        });  
    </script>
	</div>
	<script type="text/javascript" src="js/login.js"></script>
</body>
</html>
